import request from '@/utils/httpRequest'
const baseUrl = '/bsnl/role/'

// 创建保存规格信息
export function roleCreate(query) {
  return request({
    url: baseUrl + 'create',
    method: 'post',
    data: query
  })
}

// 创建保存规格信息
export function roleUpdate(query) {
  return request({
    url: baseUrl + 'update',
    method: 'post',
    data: query
  })
}

// 创建保存规格信息
export function roleList(query) {
  return request({
    url: baseUrl + 'list',
    method: 'post',
    data: query
  })
}

// 创建保存规格信息
export function roleDelete(query) {
  return request({
    url: baseUrl + 'delete',
    method: 'post',
    data: query
  })
}

